.class Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;
.super Ljava/lang/Object;
.source "FileExplorerActivity.java"

# interfaces
.implements Lcom/estrongs/android/ui/preference/n;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/view/FileExplorerActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/view/FileExplorerActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/lang/Object;)V
    .locals 3

    const-string v0, "hidden_file"

    .line 1
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p2, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->t:Lcom/estrongs/android/pop/l;

    invoke-virtual {p2}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result p2

    invoke-static {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->e(Lcom/estrongs/android/pop/view/FileExplorerActivity;Z)Z

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/util/z;)V

    goto/16 :goto_4

    :cond_0
    const-string v0, "thumbnail"

    .line 4
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    .line 6
    invoke-static {p1}, Les/rj;->a(Z)V

    .line 7
    invoke-static {}, Lcom/estrongs/android/icon/loader/c;->c()V

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/util/z;)V

    goto/16 :goto_4

    :cond_1
    const-string v0, "show_associate_app"

    .line 9
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v2, 0x0

    if-eqz v0, :cond_2

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k(Z)V

    goto/16 :goto_4

    :cond_2
    const-string v0, "gesture_setting_enabled"

    .line 11
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 12
    :try_start_0
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->parseBoolean(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_3

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->p(Lcom/estrongs/android/pop/view/FileExplorerActivity;)Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string p2, "gesture_enabled"

    invoke-virtual {p1, p2}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;)V

    .line 14
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->p0:Lcom/estrongs/android/ui/guesture/ESGesturePanel;

    invoke-virtual {p1}, Landroid/view/View;->postInvalidate()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_4

    :cond_4
    const-string v0, "search_engine_default"

    .line 15
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_14

    const-string v0, "show_search_engine"

    .line 16
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_14

    const-string v0, "show_pcs_res"

    .line 17
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    goto/16 :goto_3

    :cond_5
    const-string v0, "enable_recycle"

    .line 18
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 19
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-nez p1, :cond_15

    .line 20
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->P()V

    goto/16 :goto_4

    :cond_6
    const-string v0, "scroll_thumb"

    .line 21
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 22
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    .line 23
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;->D:Ljava/util/List;

    monitor-enter v0

    .line 24
    :try_start_1
    iget-object p2, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p2, p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;->D:Ljava/util/List;

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :cond_7
    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_8

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/view/FileGridViewWrapper;

    if-eqz v1, :cond_7

    .line 25
    invoke-virtual {v1, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->i(Z)V

    goto :goto_0

    .line 26
    :cond_8
    monitor-exit v0

    goto/16 :goto_4

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw p1

    :cond_9
    const-string v0, "app_backup_path"

    .line 27
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    .line 28
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/pop/view/utils/f;->c(Ljava/lang/String;)V

    .line 29
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k(Z)V

    goto/16 :goto_4

    :cond_a
    const-string v0, "download_path"

    .line 30
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    .line 31
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/pop/view/utils/f;->d(Ljava/lang/String;)V

    .line 32
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->k(Z)V

    goto/16 :goto_4

    :cond_b
    const-string v0, "use_xlarge_layout"

    .line 33
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    .line 34
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    check-cast p2, Ljava/lang/Boolean;

    .line 35
    invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p2

    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/l;->t(Z)V

    .line 36
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->H0()V

    goto/16 :goto_4

    :cond_c
    const-string v0, "restoresettings"

    .line 37
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_d

    .line 38
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->H0()V

    goto/16 :goto_4

    :cond_d
    const-string v0, "show_clipboard_message"

    .line 39
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_f

    .line 40
    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-eqz p1, :cond_e

    .line 41
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c0()Lcom/estrongs/android/pop/app/leftnavigation/h0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/leftnavigation/h0;->l()V

    goto :goto_4

    .line 42
    :cond_e
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->c0()Lcom/estrongs/android/pop/app/leftnavigation/h0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/leftnavigation/h0;->g()V

    goto :goto_4

    :cond_f
    const-string v0, "show_nomedia"

    .line 43
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    .line 44
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p1, v1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a(Lcom/estrongs/android/util/z;)V

    goto :goto_4

    :cond_10
    const-string v0, "show_home_new_file"

    .line 45
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_15

    .line 46
    iget-object p1, p0, Lcom/estrongs/android/pop/view/FileExplorerActivity$q2;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/view/FileExplorerActivity;->D:Ljava/util/List;

    .line 47
    :goto_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_12

    .line 48
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/view/FileGridViewWrapper;

    .line 49
    instance-of v1, v0, Lcom/estrongs/android/ui/homepage/i;

    if-eqz v1, :cond_11

    const/4 v1, 0x1

    .line 50
    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->d(Z)V

    :cond_11
    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 51
    :cond_12
    check-cast p2, Ljava/lang/Boolean;

    invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-eqz p1, :cond_13

    const-string p1, "1"

    goto :goto_2

    :cond_13
    const-string p1, "0"

    :goto_2
    const-string p2, "display_setting_page"

    const-string v0, "show_home_newfile"

    .line 52
    invoke-static {p2, v0, p1}, Lcom/estrongs/android/statistics/c;->c(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    .line 53
    :cond_14
    :goto_3
    invoke-static {}, Lcom/estrongs/android/util/m0;->b()V

    :catch_0
    :cond_15
    :goto_4
    return-void
.end method
